#include <iostream>
#include "calculator.h"
#include "utils.h"

int main() {
    std::cout << "Starting calculator program..." << std::endl;
    
    initialize_system();
    
    Calculator calc;
    
    int a = 10, b = 5;
    
    int sum = calc.add(a, b);
    int product = calc.multiply(a, b);
    double quotient = calc.divide(a, b);
    
    display_result("Addition", sum);
    display_result("Multiplication", product);
    display_result("Division", quotient);
    
    int fact = factorial(5);
    display_result("Factorial of 5", fact);
    
    cleanup_system();
    
    return 0;
}
